set(liblinkedlist_SOURCES
    linked_list.c
)

# note: by default this target creates a shared object (or dll). To build a
# static library instead, set the option BUILD_SHARED_LIBS to FALSE.
add_library ( linkedlist
    ${config_SOURCES}
    ${liblinkedlist_SOURCES}
)

if ( LIBLINKEDLIST_CPPFLAGS )
  set_target_properties ( linkedlist
    PROPERTIES COMPILE_FLAGS ${LIBLINKEDLIST_CPPFLAGS} )
endif ( LIBLINKEDLIST_CPPFLAGS )

target_include_directories(linkedlist
    PUBLIC ${PROJECT_SOURCE_DIR}/include
)
